package com.lagou.config;

import java.util.List;

/**
 * @author: wudong
 * @create: 2021-05-27 17:41
 **/
public interface AliasRegistry {
    void registerAlias(String name, String alias);

    void removeAlias(String alias);

    boolean isAlias(String name);

    String getRealName(String alias);

    List<String> getAliases(String name);

    public boolean hasAlias(String name, String alias);
}
